import { ResultEnum } from '../../enums/httpEnum'

let randomArray = []

for (let i = 0; i < 50; i++) {
  let randomNumber = Math.floor(Math.random() * 1000000) // 生成0到99之间的随机整数
  randomArray.push(randomNumber)
}
const companyList = {
  current: 1,
  pages: 10,
  size: 10,
  total: 50,
  'records|50': [
    {
      orgName: '测试公司',
      'taxesNumber|+1': randomArray,
      topOrgName: '测试租户',
      channelName: '@name',
      'validTime|+1': [10, 99, null, '永久'],
      'tryFlag|+1': [1, 2],
      'authStatus|+1': [0, 1, 2, 3],
      'rpaType|+1': ['云端RPA', '本地RPA'],
      createDate: '@date("yyyy-MM-dd  HH:mm:ss")',
      lastOpenTime: '@date("yyyy-MM-dd  HH:mm:ss")',
      'orgStatus|+1': [0, 1],
      lastLoginTime: '@date("yyyy-MM-dd  HH:mm:ss")',
      'tenantId|+1': randomArray
    }
  ]
}
export default companyList
